package com.schoolMall.controller.shopAdmin;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author:zyh
 * @Time:2021-08-29-22:37
 * @email:1269231889@qq.com
 */
@Controller
@RequestMapping("/schoolMall/shopAdmin")
public class ShopAdminController {
    private Logger logger = LoggerFactory.getLogger(ShopAdminController.class);

    @RequestMapping(value = "/shopOperate")
    public String shopOperation(){
        logger.info("shopAdminController start");
        return "shop/shopedit";
    }

    @RequestMapping("/shopList")
    public String shopList(){
        return "shop/shoplist";
    }


    @RequestMapping("/shopManage")
    public String shopManage(){
        return "shop/shopamanage";
    }

    @GetMapping("/productCateManage")
    private String productCateManage(){
        return "shop/productcategorymanagement";
    }
}
